{"action":"opened","issue":{"url":"https://api.github.com/repos/kstyrc/embedded-redis/issues/50","labels_url":"https://api.github.com/repos/kstyrc/embedded-redis/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/kstyrc/embedded-redis/issues/50/comments","events_url":"https://api.github.com/repos/kstyrc/embedded-redis/issues/50/events","html_url":"https://github.com/kstyrc/embedded-redis/issues/50","id":78977430,"number":50,"title":"Hanging thread on shutdown in Tomcat","user":{"login":"adsgreen","id":3473682,"avatar_url":"https://avatars.githubusercontent.com/u/3473682?v=3","gravatar_id":"","url":"https://api.github.com/users/adsgreen","html_url":"https://github.com/adsgreen","followers_url":"https://api.github.com/users/adsgreen/followers","following_url":"https://api.github.com/users/adsgreen/following{/other_user}","gists_url":"https://api.github.com/users/adsgreen/gists{/gist_id}","starred_url":"https://api.github.com/users/adsgreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adsgreen/subscriptions","organizations_url":"https://api.github.com/users/adsgreen/orgs","repos_url":"https://api.github.com/users/adsgreen/repos","events_url":"https://api.github.com/users/adsgreen/events{/privacy}","received_events_url":"https://api.github.com/users/adsgreen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T12:40:50Z","updated_at":"2015-05-21T12:40:50Z","closed_at":null,"body":"The abstract Redis instance contains a single thread pool:\r\n\r\nprivate final ExecutorService executor = Executors.newSingleThreadExecutor();\r\n\r\nThis creates a non daemon thread and there is no call to executor.shutdown() in the stop method.\r\nAs such this causes an appserver with an embedded redis server to hang."}}