fix restart process with connector test