Keepalive through mock task

Close #56