introduced a locking mechanism for mount/unmount