Reduced sleep time

changed the sleep to 1 second instead of 2