Handle solenoid mutex errors properly