Add timeout before redirect