[PATCH] Make ctrl-c work with network io and accept loop