printing when shutting down nodes