Really difficult time with container timeouts

My containers seem to become completely unresponsive after about 30 to 45 minutes. In the middle of work it will frequently attempt (and fail to reconnect). Log as follows:

[WorkspaceServices E] Exception joining workspace xxx
Failed to connect to the environment. Server responded with a non-101 status: 404 None of the connected listeners accepted the connection within the allowed timeout.