Improved that avoiding an accidental error in listen() when long timeout specified.