Caught HibernateException to fall back when a Hibernate session is not
available inside HibernateSessionDataSource. Added a timeout to
Nms4005Test.