class ActiveRecord::DatabaseMutex::MutexLocked

This exception is raised if a mutex of the given name is locked at the moment and lock was called again.