Add wait(ms, callback) and wait(callback) to handler.