Add error handling for when sending prekeys to the server