added sleep to imu filtering thread