Motor flushing