better handling of port in use errors with cluster