remove --keepalive option

this can be achieved more elegantly by adding keepalive as a "sub-task"