Appum : socket hang up

I am getting this error sometimes when trying to search for an element in my app.

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up

This is where the script failed -

	MobileElement el1 = (MobileElement) driver.findElement(By.id("com.app:id/elementId"));

Added an implicit wait of 60sec before this line but that does not seem to help