Handling graceful bluetooth connectivity