Added check if port is in use for servers