Hmmm Not sure if this has anything to do with shared pool as you would expect another error message (Oracle's good like that).

Most likely network connection has dropped.
Can be many causes:

Check Alert Log for sever errors.
Problem with Listener?
Protocol error (TNSNAMES).
Network Error?

To Name a few.