close channel (still use TCP keep alive)

use channel.alloc() for ByteBufs

fix bug in setup_mysql.sh for mac