///Fix for timeouts after 5000 milliseconds