BUT if the input is somehow Wrong, there wont be any result. Because of this i wanted to make a Timer and if i didn't Recieve an Answer after 30 Seconds, it failed(Error Message or Something like that).
I would suggest that a better, as in less fragile, approach would be to return an error rather than nothing and then rely on a timeout which could be impacted by network connectivity issues. A 30 second timeout could also lead to a DOS attack on the server.