added check if we still have the lock before commiting changes in state file
added check if we still have the lock before commiting changes in state file

ellert/globus-toolkit,gridcf/gct,gridcf/gct,globus/globus-toolkit,ellert/globus-toolkit,gridcf/gct,globus/globus-toolkit,globus/globus-toolkit,gridcf/gct,globus/globus-toolkit,ellert/globus-toolkit,ellert/globus-toolkit,globus/globus-toolkit,globus/globus-toolkit,globus/globus-toolkit,ellert/globus-toolkit,ellert/globus-toolkit,gridcf/gct,ellert/globus-toolkit,gridcf/gct,globus/globus-toolkit,ellert/globus-toolkit