amux: condition variable waiting and clean up
Merge commit '569fd13'
Merge branch 'master' of https://github.com/JulianKunkel/siox