Improve connections handling in test empaia async empaia client
