Add stmt.fetch

Fix UnregisterWaitHandle not being called if an operation completed
synchronously (now doesn't call RegisterWaitHandle at all in this case)