decrease sleeping time in main