def _stop_remote_library(process):
    print 'Stopping PabotLib process'
    Remote(_PABOTLIBURI).run_keyword('stop_remote_server', [], {})
    i = 50
    while i <= 0 and process.poll() is None:
        time.sleep(0.1)
        i -= 1
    if i == 0:
        print 'Could not stop PabotLib Process in 5 seconds - calling terminate'
        process.terminate()
    else:
        print 'PabotLib process stopped'
dataset/ETHPy150Open mkorpela/pabot/pabot/pabot.py/_stop_remote_library/operator `>` -> `<=`