added delete function to remove unused player-msg connections