fixed waitFor check interval wasn't cleared on timeout