keep checking for a time interval of 1 min
keep checking for a time interval of 1 min
check in bracket of 1 min
calulate proper sleep time