Attempt at fixing programming timeouts