avoid memory leaks in case no request handler found