Non-instantaneous gas recycling and chemical evolution in N-body disk galaxies