Sound like you are using single db connection instead of pool that simple times out after certain time of inactivity and then a thread is trying to equerry DB but it is not aware that connection is down and it should create new connection.
PS: Without knowing what is in code hardly anyone will be able to advice
peter_budo
Code tags enforcer
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902