add isActive checking to EventDispatcherServlet