added spinwaiting to storage writer