Add timeout in start function