try to find why trading stops after a while