avoid writer be occupied too long
fix tail bug: forget to report a hour is done when number of log lines is multiple of receive buffer size
Merge branch 'master' of git://github.com/logd-team/logd