Close the distributed lock manger when closing the engine
Minor code cleanup
Fail if a response is taking too long