Prevent double allocation bug on windows
Cancel fs request on timeout
Add module initialization