Added some network failure tolerant code using jms and jboss 7