Fix a bug that groonga doesn't exit on error while daemon mode startup

e.g.:

    % groonga -d /tmp/non-existence.db
    (It doesn't exit.)