Fixes to communication pipe between non-rt and rt