raise exception on scheduler lock timeout
Merge pull request #540 from pdvyas/enable-locktimeout

raise exception on scheduler lock timeout