specialize exceptions, fix scope of global timeout