I like [FlockMutex](https://github.com/malkusch/lock#flockmutex) because it work on kernel level and is reliable. however there's the problem that acquiring the lock makes program wait forever. I wish to get error "unable to obtain lock withing timeout" for [flock](http://php.net/flock) there's `LOCK_NB` flag which can be used. ps: [SemaphoreMutex](https://github.com/malkusch/lock#semaphoremutex) has similar issue