Yeah you have too many pokemons of the same time. it's trying to transfer alot at once which results in PF hanging. Try changing your settings. Make PF transfer it one at a time. And also remove the transfer immediately setting. Transfer one type of pokemon, then move on to adding more. until the amount of pokemons you have slowly decreases.