Make function which schedules to run callback function immediately