handle /stop & tests for status code