If the last nvim_eval arrives on RPC channel before rpc_close_event() is processed, it will be scheduled immediately after rpc_close_event() and before free_channel_event(), causing the test to fail.