Keep the encoder thread alive by sending random client data

Signed-off-by: Umair Khan <omerjerk@gmail.com>