When timeout it can auto exit