Make sure the check_close() handler runs when a server child process exits