Fixed swal_test main loop to use single connection instead of creating new one for each iteration