add some javadoc
add some try catch to get Exception coming from LockCallback and display the exception on log