added some usleep milliseconds to give IOHandler the chance to disconnect the sockets...