Prevent callback function being called twice