are you using a local testing server or a remote testing server?
The symptoms you are describing usually happen with a remote testing server where it needs to constantly connect to a remote mySQL server.
using a local testing server instead should clear the issue.
see the learning resources page for details on configuring a local testing server.
resources.php