Revert "Accept more than one socket connection when listening"

This reverts commit a435402f30e7f5c5b8334850b2c1226a0f1750f7.