Switch to simpler algo to run Python IPC through Jython and more reliable as well.
Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>