only set timeouts when the ResultService is remote, otherwise the code throws exception at runtime 'java.lang.IllegalArgumentException: not a proxy instance'
fixed log message
cleanup imports
setting http connection and request timeouts