Removed 'Connection: close' as it is different in jenkins

### Description
The "Connection:close" HTTP header is seen in jenkins, but not in all centos machines.
To avoid problems now and in the future, these headers are simply removed.