close the listener
fix maxinflight naming.  part of the problem #19