made it to not add up time by using set time out instead of client.after