Added optional timeout configuration methods.