[KARAF-2880] Introduce timeout when consuuming JMS messages