add timeout to redirector