Do flying insects swarm before rain?

Flying insects tend to fly lower before a rain storm. This may give the appearance that they are swarming because they may be less noticeable flying above us.