fixed reconnection issue with all listener ports.