set apilio bollean to false based on time