SONAR-5056 Close connection after deleting requirements