Releasing JDBC Objects
It is good practice to release database resources as soon as possible because the number of database connections is limited and active statements and result sets need memory. If you do not close resources explicitly they may be blocked for a longer period which leads to a bottleneck when the load on the server becomes higher.
See also Resource Management for general rules about resource management.