catch HttpListener exception