added timeout at 4 seconds to detect problems fetching the data