Change thread sleep to 10s