Improved stability of router::redirect() by checking transition promise state (due to timeout possibility) before completing it.