I\'m trying to work on an automated error handling algorithm that will try to restart the service again if the port is already in use. The technique works as follows: