fix for polling selenium server start in version 2.43 and above