Added volatile and synchronized keywords and other optimizations.

- Removed the exception raised when surls' details are not provided
after a srmLs exited with SRM_SUCCESS or SRM_PARTIAL_SUCCESS