escape tildes in stop call

use PID variable for status