File: return an error if an operation is already running