BATCHEE-11 supporting stop command locally (no issue using jaxrs) using a socket (deactivated by default)