saving data and timing out