Properly shutdown threads and JMS client when actor is stopped