this looks like the way qt should work, and doing otherwise (creating and destroyng continuously the connection) gives a lot of warnings at runtime