std/net/server/basic-server: close-socket: check wait-in,wait-out before fetching state
std/net/server/basic-server: close-socket: check wait-in,wait-out before fetching state

vyzo/gerbil,vyzo/gerbil,vyzo/gerbil