For me changing the wait time to 45 seconds did work, in a raspberry. Use htop to check the CPU use and thin process memory size, it should have time to reach its normal memory size before your wait time expires for this error not to occur.
–
chechFeb 16 at 22:01