[upgrade] restart jenkins by using background process & sleep