AsynchronousLock: implement _poll() and test