Attempt at fixing bug where a message cannot be sent after sending one first