Make messaging extension work after the first call 

Before it used to open the connection again which led to an error