Error handled port already in use