kill db connection when truncating