make disconnection signal slot connections more robust