raise PatchworkConnectionException when failing to get shell prompt