force-stop app before starting it (fix #1142)