That reminds me of something from the Old Man's War novels.
---
There is a subtly-implied possibility that your consciousness is not transferred to your new body as claimed, but instead, it is copied, and you die in your original body. If this is the case, then in your dying moments, you...