provide a generic stop method for the initscript