Social gatherings must have a purpose if they are to succeed.
Once the purpose has been established, you must also make sure to only invite those who serve the purpose and exclude those who don’t.