fix log type
add sleep after subscription so pubs are delayed (preventing pub before sub done)
Merge pull request #603 from demaagdk/develop

Develop
fix realtime syntax error
Merge pull request #604 from demaagdk/develop

fix realtime syntax error