realtime.py fix to prevent spamming prints when no connection.