API cleanup
Drain error stream to console