closeSession in runSession on error too

`finally` instead of `<*` to not leak the `WDSession` created.