Switch order of timing/exception middleware