Ah, nevermind. I think I found the problem.
I was initializing the camera inside a library which I used in a program running in the background.
But when I was setting the pin to high, I included this library, so two processes were accessing the camera...
sorry.