Simplify connectEx and cancel

"go" was unnecessary
s/maybe ... id/fromMaybe/