Fixed bug where some Linux machines would block indefinitely