Set timeout in ms