Added a timeout of 5 seconds to all requests

Without a timeout a callback could possibly be gone for ages.