workaround for issue: https://issues.apache.org/jira/browse/AMQ-4307 attempt to get around the deadlock by detecting and interrupting the locked thread.