Fix warnings due to 0ms mix rate and clean up scheduler shutdown