Remove all panic() from streamd