preparedstatements now properly closed after use