Correct handler URL and prevent handler not die on every single request