server, io multiplexing, single process, select, check FIN from client