adjusting timeout