[PATCH 08/16] gprs: Refactor to share remove_context method