While running code in jenkins after sometimes Appium is throwing exception Error communicating with the remote browser. It may have died

While running code in jenkins after sometimes Appium is throwung exception Error communicating with the remote browser. It may have died.