Bugfix: s_client occasionally would sleep in select() when it should