server, io multiplexing, single process, pselect, check FIN, data, RST from client