Fix #1092. ES timeout catching + use requests

Remove urllib2 calls for more simple requests calls.
Multiple cleanups such as flags which were harcoded to True.