Added locking to service call.
Merge pull request #141 from hawesie/hydro-devel

Added locking to service call.