{"action":"opened","issue":{"url":"https://api.github.com/repos/celery/librabbitmq/issues/80","repository_url":"https://api.github.com/repos/celery/librabbitmq","labels_url":"https://api.github.com/repos/celery/librabbitmq/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/celery/librabbitmq/issues/80/comments","events_url":"https://api.github.com/repos/celery/librabbitmq/issues/80/events","html_url":"https://github.com/celery/librabbitmq/issues/80","id":138440829,"number":80,"title":"How to gracefully shutdown a blocking connection?","user":{"login":"roshansingh","id":742325,"avatar_url":"https://avatars.githubusercontent.com/u/742325?v=3","gravatar_id":"","url":"https://api.github.com/users/roshansingh","html_url":"https://github.com/roshansingh","followers_url":"https://api.github.com/users/roshansingh/followers","following_url":"https://api.github.com/users/roshansingh/following{/other_user}","gists_url":"https://api.github.com/users/roshansingh/gists{/gist_id}","starred_url":"https://api.github.com/users/roshansingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roshansingh/subscriptions","organizations_url":"https://api.github.com/users/roshansingh/orgs","repos_url":"https://api.github.com/users/roshansingh/repos","events_url":"https://api.github.com/users/roshansingh/events{/privacy}","received_events_url":"https://api.github.com/users/roshansingh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-04T10:36:28Z","updated_at":"2016-03-04T10:36:28Z","closed_at":null,"body":"I am using a blocking connection which does file io, I want to be able to do some cleanup before killing the process. How to do this?"}}