Add killsessions command-line function