My app starts a daemon thread which uses a blockingQueue. When it is killed using kill -3, the app doesnt stop cleanly and the resulting stack shows that it is still waiting on BlockingQueue.take()
.
Any suggestions to help with a clean shutdown would be deeply appreciated