removed unneccessary timeout in open()