added reconnect to transport layers - fixed issues