closing stuff gracefully now