Fixed initialisation of polled fd counter in WaitForMultipleObjects.