use reconnect attempts against hornetq.