Fixed bug in try_lock() (memory driver).