redirect user to the referrer if latest request was not GET after timeout

please see discussion #2421