This method is said to work very well – Mosquitoes get attracted to CO2 – This is how you generate CO2 and trap mosquitoes.
Just make sure water temperature is higher than room temperature but no more than 32 C before you add yeast.
You’ll end up with the bottle looking like this: