Fix behavior when ::accept is failed (Fixes jubatus issue 717)

This will fix https://github.com/jubatus/jubatus/issues/717.