enable error checking of mutex, log mutex errors