Problems with websockets tests after upgrading to 3.0-RC2

Hi,

I just tried to upgrade to the current RC-2 and I am currently facing two problems with websockets - maybe someone can give me some hints:

1: - websocket check keeps “hanging” in active request (in 2.3 I used until(1) on the wsAwait.within check):

import io.gatling.core.Predef._
import io.gatling.core.structure.ScenarioBuilder
import io.gatling.http.Predef._
import io.gatling.http.protocol.HttpProtocolBuilder
import scala.concurrent.duration._

class WebsocketEchoSimulation extends Simulation {

  val httpConf: HttpProtocolBuilder = http
    .wsBaseUrl("ws://echo.websocket.org")
    //.wsReconnect
    //.wsMaxReconnects(1)

  val scn: ScenarioBuilder = scenario("WebSocket")
    .exec(ws("Connect WS").connect(""))
    .pause(1 second)
    .repeat(1, "i") {
      exec(
        ws("Say Hello WS")
        .sendText("hello")
        .await(1 second)(
          ws.checkTextMessage("echoResponse").check(regex("hello"))
        )
      )
      .pause(1 second)
    }
    .exec(ws("Close WS").close)

  setUp(scn.inject(atOnceUsers(1)).protocols(httpConf))
    .assertions(
      global.failedRequests.count.is(0)
    )

}

The simulation keeps running after I close the websocket

`

08:08:47.509 [GatlingSystem-akka.actor.default-dispatcher-6] DEBUG io.gatling.http.action.ws.fsm.WsActor - Check sequences completed successfully
08:08:47.509 [GatlingSystem-akka.actor.default-dispatcher-6] DEBUG io.gatling.core.action.Pause - Pausing for 1000ms (real=989ms)

A bug indeed, thanks a lo for reporting!
https://github.com/gatling/gatling/issues/3548