[CSID-34] Modified the connection and read timeout inside the WMS stores

Please look at the following JIRA https://geosolutions.atlassian.net/browse/CSID-34