Fixed a bug where clearing a prompt would also clear the socket off of the context for that execution.