Tries to gain exclusive ownership of the mutex and returns false, if another thread already owns the mutex, exclusively or not.