fixed minor bug in listen queue management