adding openrave mutex in case we've got some race condition