Mono specific workaround for seemingly buggy System.Threading.Monitor implementation.