Ensured that exceeding timeout will fail gracefully