added synchronization of release command