I am still a little confused. I created a second variable called lastMillis2 to be used in the second loop but the problem still persists.
Also the expected behaviour is that the two functions handleWrist and handleFingers run "simultaneously". The handleWrist function reads the value of a gyroscope and moves a servo accordingly. The handleFingers function reads the value of a force sensor and moves a second servo accordingly.