It can be either because:
1. You have a bug in the JDC Driver
2. You submitted a huge load to the DB, so the Connection is stuck waiting for an answer
I guess the 2nd case might be true. Though not sure why. I'm debugging it and seeing that it has stuck on execution of insertion operations (there are around 3600 of them).
it worked well with first 1055 insertions and the next one stuck in the loop:
executeActions function of ActionQueue.
Is there any way to figure out why it is the case that it hangs there?