Updated Server class's 'listen' function to drop a connection properly.