improved the mesh shell task
added bad gateway error