Fixed what seems to be a Jersey misbehavior which makes it call commit more than once on the response writer when unmapped URLs are getting hits.