@anon57585045 Deleted the delay(), works like a charm. Thank you!
Do you perhaps know why this happens?