Fix #3 using setKeepAlive.

There is somewhere a 120 secs timeout and it is a problem in long time
processes.