Feature request: remember last prompt in the case of server error

It is very often situation. I write new message or initiate a new prompt which may be long enough. Instead of the answer I see server error message due to high load or something else. It is okay, but this message is not remembered and if I simply reload the page which is required to continue the work, my message disappear. So I need to copy it somewhere, wait while the server is available again (and to check it I need constantly write new messages),.That is very unfriendly. Why not to remember last user message simply allowing user to press “Regenerate” button to check if the server is available or just close the page and try again later?