And you’re sure there are no bugs in your code like the infinite loops or unnecessary print statements that Tom mentioned?
Also note that if you are having this problem on multiple notebooks at or around the same time, it could also be caused by “bad weather” in the Cloud. The servers may be overloaded in general or the particular VM image running your various Docker instances may be overloaded. You could try closing all your active notebooks, doing the old “therapeutic re-login” to your Coursera account and opening them again.