process not running but first time it is localhost other wise exitstatus will not catch