remove sd_lock from stream. This should improve the performance