-1 appears to be returned on Windows when things fail via Trireme. Using another value that (hopefully) is unlikely to be returned.