connect to db2. SQLSTATE=08S01

I insert items into DataBase DB2 in a loop ,the error occurs when it loops more than five thousands times.

COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC Driver] CLI0615E Error receiving from socket, server is not responding. SQLSTATE=08S01

But the jdbc server is in gear.

some times I run the services on Developer is ok.

Somebody help me out :]