add waitUntil method to selector to get higher precision timer