How to send ping in as Ratchet\Client\connect as setTimeout in js
I have a connect to websocket, and i need send ping every 5 second:
```
        $conn->send(json_encode([
            'req_id' => 100001,
            'op' => 'ping'
        ]));
```
How in `Ratchet\Client\connect` I can send ping message every 5 second in code below?
```
<?php

use function Ratchet\Client\connect;

connect('wss://stream.bybit.com/spot/private/v3')->then(function ($conn) {
	$api_public = '';
	$api_private= '';
    // LOGIN AND SUBSCRIBE
    $expires = (time() + 3) * 1000;
    $conn->send(json_encode([
        'op' => 'auth',
        'args' => [$api_public, $expires, hash_hmac('sha256', 'GET/realtime' . $expires, $api_private)]
    ]));
    $conn->send(json_encode([
        'req_id' => 1,
        'op' => 'subscribe',
        'args' => ['outboundAccountInfo']
    ]));
    // LOGIN AND SUBSCRIBE

    $conn->on('message', function ($msg) {
        if ($msg !== null) {
            print_r(json_decode($msg, true));
            echo PHP_EOL;
        }
    });

    $conn->on('close', function($code = null, $reason = null) {
        echo '[' . date('Y-m-d H:i:s') . '] Connection closed. Code: ' . $code . '; Reason: ' . $reason . PHP_EOL;
     });
}, function (Exception $e) {
    echo "Could not connect: {$e->getMessage()}" . PHP_EOL;
});
```