When I run a stored procedure using Interactive SQL, the following error message is prompt.

JZ006: Caught IOException: java.net.SocketException: Connection
reset by peer: JVM_recv in socket input stream read

Then the corresponding database will be closed immediately, but there is no problem when i manually execute the script in this procedure one by one. Does anyone have idea about this case?