Support appCloseConnection in streaming-commons-0.1.6