Adds functionality to automatically close session when all users have voted