Add NodeAdapter.close() method, which flushes all client connections, resets engine state and removes all timeouts. This should mean the server leaves nothing in the event scheduler, letting Node exit.