refuse connection handling