This will not harm your plants, but they will keep the cluster flies away. Do not let any food rot in your kitchen. A compact vacuum will be your best bet since the cracks where they are hiding will most likely be in tight corners. If there are cracks in your garden soil, you can equally seal them up using soil. Cluster fly pupae mature into fully developed adults in 11 to 14 days.