Former England international Mike Tindall might retire at the end of the season if it becomes the "right thing" for Gloucester.