added stopAndRemoveAll-function