{"action":"opened","issue":{"url":"https://api.github.com/repos/Makman2/MP/issues/54","labels_url":"https://api.github.com/repos/Makman2/MP/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/Makman2/MP/issues/54/comments","events_url":"https://api.github.com/repos/Makman2/MP/issues/54/events","html_url":"https://github.com/Makman2/MP/issues/54","id":93111468,"number":54,"title":"Close remote connection asynchronously in fragment `onDestroy()`","user":{"login":"Makman2","id":6023916,"avatar_url":"https://avatars.githubusercontent.com/u/6023916?v=3","gravatar_id":"","url":"https://api.github.com/users/Makman2","html_url":"https://github.com/Makman2","followers_url":"https://api.github.com/users/Makman2/followers","following_url":"https://api.github.com/users/Makman2/following{/other_user}","gists_url":"https://api.github.com/users/Makman2/gists{/gist_id}","starred_url":"https://api.github.com/users/Makman2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Makman2/subscriptions","organizations_url":"https://api.github.com/users/Makman2/orgs","repos_url":"https://api.github.com/users/Makman2/repos","events_url":"https://api.github.com/users/Makman2/events{/privacy}","received_events_url":"https://api.github.com/users/Makman2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Makman2/MP/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-05T13:34:12Z","updated_at":"2015-07-05T13:34:12Z","closed_at":null,"body":"If the device malfunctions the fragment could hang up.\r\n\r\nSo:\r\n- Use a thread to close the connection\r\n- If a normal `close()` does not finish in a specific amount of time (about 30sec), `terminate()` it.\r\n\r\nThis would affect the `LiveDataFragment`."}}