added skipSetTimeout paramter.