Add configuration for timeouts
Close #21