As Patty points out, fruit flies love red wine. A small cup of red wine with a drop of dish soap will help keep the escapees under control. The dish soap reduces the surface tension of the wine, so that the flies sink.