Fixed bug in MySQLContext, change simulation queue size and added longer sleeps.