Wait until plugin-server clears the ringbuffer before sending more data
Small plugin-bridge fixes