unlock synch mutex when leaving dr