Fixed work in envs patched by eventlet

Change-Id: I3aa11e2f462d6534cc87b549f13b5140f87a7d14
Closes-bug: #1284031