Added some javadoc. Added property to check latch if the latch service not respond.