Use XHR method to restart service