add a timeout to checkStatus