Removed unnecessary closing of JAX-RS connections