Fixed resending stuck messages until I make a robust implementation.
Current implementation causes OOME