Kill Database Connections and Restart Java Wrapper