Not waiting for ready event if the connection is already ready

Signed-off-by: Emilien Kenler <hello@emilienkenler.com>