[Realtime] A better monking patching of sftp_client.